/*
 * @brief:               
 * @author:   guangjieMVP
 * @date:     2020-xx-xx
 * @version:  v1.0.0
 * @  copyright(c) 2020: OptoMedic Technologies Co.,Ltd. All rights reserved
*/
#ifndef _LOG_H_
#define _LOG_H_

#include "stdio.h"

#define __FILENAME__ (strrchr(__FILE__, '\\') ? (strrchr(__FILE__, '\\') + 1) : __FILE__)

#define SLOG(level, format, args...) \
     do{printf(" [%s] %s-%d  ", #level, __FILENAME__, __LINE__); printf(format, ##args); printf("\r\n");}while(0)

// #define SLOG_PRINT(X, args...) printf("[%s]-%d:" X, __FILENAME__, __LINE__, ##args)

#endif
	 
	 